﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace projectManagementWeb.Models.ProjectLeader
{
    public class ProjectLeaderAssignedTask
    {
        [Required(ErrorMessage = "El campo '{0}' es requerido")]
        [Display(Name = "ID")]
        public int ID { get; set; }
        [Required(ErrorMessage = "El campo '{0}' es requerido")]
        [Display(Name = "Nombre")]
        public string name { get; set; }
        [Required(ErrorMessage = "El campo '{0}' es requerido")]
        [Display(Name = "Descripcion")]
        public string description { get; set; }
        [Required(ErrorMessage = "El campo '{0}' es requerido")]
        [Display(Name = "ID Modulo")]
        public int ModuleID { get; set; }
        [Required(ErrorMessage = "El campo '{0}' es requerido")]
        [Display(Name = "Nombre del Modulo")]
        public string ModuleName { get; set; }
        [Required(ErrorMessage = "El campo '{0}' es requerido")]
        [Display(Name = "ID Proyecto")]
        public int ProjectID { get; set; }
        [Required(ErrorMessage = "El campo '{0}' es requerido")]
        [Display(Name = "Nombre del Proyecto")]
        public string ProjectName { get; set; }
        [Required(ErrorMessage = "El campo '{0}' es requerido")]
        [Display(Name = "Esfuerzo Planeado")]
        public int taskEffortPlanned { get; set; }
        [Required(ErrorMessage = "El campo '{0}' es requerido")]
        [Display(Name = "Esfuerzo Pendiente")]
        public int taskEffortPending { get; set; }
        [Required(ErrorMessage = "El campo '{0}' es requerido")]
        [Display(Name = "Esfuerzo Real")]
        public int taskRealEffort { get; set; }
        [Required(ErrorMessage = "El campo '{0}' es requerido")]
        [Display(Name = "Estatus Actual")]
        public int CurrentStatus { get; set; }
        [Required(ErrorMessage = "El campo '{0}' es requerido")]
        [Display(Name = "Descripcion del Estatus Actual")]
        public string CurrentStatusName { get; set; }
        [Required(ErrorMessage = "El campo '{0}' es requerido")]
        [Display(Name = "Fecha de inicio")]
        public DateTime StartDate { get; set; }
        [Required(ErrorMessage = "El campo '{0}' es requerido")]
        [Display(Name = "Fecha de Fin")]
        public DateTime EndDate { get; set; }
    }
}
